home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Latest Shareware Programs: Master / OS-2 Master - Latest Shareware Programs.iso / bin_os2 / lh.doc < prev    next >
Text File  |  1992-03-29  |  9KB  |  224 lines

  1.  
  2. LH 2.14 Mon  03-30-1992
  3. -----------------------
  4. Wow;  two releases in the same month.    Bending to popular demand (all
  5. two of you!),  Lh2 will now preserve case.  LH2 is still case
  6. insensitive when searching for files however.
  7.  
  8. In compatability mode (/c),  file names are stored in upper case.
  9.  
  10. LH 2.13 Tue  03-10-1992
  11. -----------------------
  12.  
  13. So solve a few problems with it's interaction with Squish,  LH will
  14. now exit with a non-zero ERRORLEVEL if:
  15.  
  16.    1) No files are extracted.
  17.    2) An invalid LZH header is encountered.
  18.  
  19. Archives with -lh4- type files are now supported (for decompression) by
  20. using the -lh5- code,  which seems to work fine.
  21.  
  22. A new option: /m.  This will cause only files with their archive bits
  23. set to be stored (during an ADD or MOVE operation).  The archive bit is
  24. reset if all goes well.
  25.  
  26. LH 2.12
  27. -------
  28.  
  29. During compression,  LH 2.12 will recognize that there is no space left
  30. on a disk for '-lh5-' compression.  (It always worked correctly for
  31. -lh1-).
  32.  
  33. If a file with an unknown stowage is encountered,  LH 2.12 will no
  34. longer stop at a prompt if the /o option is specified.
  35.  
  36. Wed  05-22-1991
  37. ---------------
  38.  
  39. Version 2.11 is a very small bug fix.  When Adding/Moving files,
  40. LH.EXE will now correctly exit with an ERROREVEL of 0 if successful.
  41.  
  42.  
  43. LH2.DOC, Mon  04-29-1991
  44. ------------------------
  45.  
  46. Welcome to version 2.00 of LH2.  The last version that most of you
  47. had access to was 0.80.  I've jumped all the way to 2.00 so that an
  48. association can be made with LHA 2.x,  the DOS program which LH2 is
  49. a clone of.   With 0.80,  I thought LH2 was "functionally stable";
  50. But then Haruhiko Okumura had to go and create a better compression
  51. algorithm!  This new version, 2.00,  supports that new compression
  52. method and has a few other small changes as well.
  53.  
  54. Notes:
  55.  
  56.   o This new version is (on many files) faster than the old version
  57.     while compressing.   It is always faster at decompression (2 to
  58.     3 times faster).  Files that contain many repeated bytes/strings
  59.     (such as text files) compress the fastest (almost as fast as Zip
  60.     imploding).  Files that are more random compress slower;  a very
  61.     large and very random file may compress slower than the old
  62.     version of LH.
  63.  
  64.   o It is coded all in C, and is therefore slower than Yoshi's DOS
  65.     version (LHA.EXE) which is coded in mostly assembly.  My tests
  66.     show LH2 to be a little more than 1/2 the speed while
  67.     compressing, and about 2/3 the speed at decompressing.  I can
  68.     live with it.
  69.  
  70.   o /c causes LH2 to use the old -lh1- compression method that prior
  71.     versions of LH2, and LHARC 1.x, used.
  72.  
  73.   o the new 'D' command erases files from an *.lzh archive.
  74.  
  75.   o When extracting files from an archive,  the disk space for the
  76.     destination file is allocated at the time the file is opened.
  77.     This ensures that as little fragmentation as possible will occur
  78.     on the file.
  79.  
  80.   o Specifying a drive with no directory (LH A FOO.LZH C:*.*) will
  81.     use the root directory,  rather than the current directory on
  82.     that drive.  Fixed.
  83.  
  84.   o The size of LH.EXE has grown quite a bit (from 38k to 48k) since
  85.     it now has to support both the old and new
  86.     compression/decompression code.
  87.  
  88.   o I've moved.  My new phone number is near the bottom of this
  89.     document.  I've also added a disclaimer there.
  90.  
  91.   o The new compression code (for -lh5- comression) was lifted from
  92.     AR02.LZH,  by Haruhiko Okumura.  Thanks once again Haruhiko!  I
  93.     can't make heads or tails of Yoshi's code.
  94.  
  95.  
  96. LH2.DOC, Mon  03-11-1991
  97. ------------------------
  98. Version 1.00 fixes a small bug:  If you tried to L)ist the contents
  99. of an *.lzh file that did not exist,  no error message was printed.
  100.  
  101. LH2.DOC, Tue  01-08-1991
  102. ------------------------
  103.  
  104. This version, 0.80,  is the first release that supports EAs
  105. (Extended Attributes) and (to some degree) 'long' file names.  If
  106. there are no problems with it,  it will be renamed 1.00 and
  107. forgotten about.
  108.  
  109. EAs are supported in the following manner.  During the file search
  110. stage (where LH creates a list of all matching files to be sorted),
  111. a pseudo-archive named EA.LZH is created,  if needed.  Using the
  112. same names as the original files,  EA.LZH contains the associated
  113. extended attributes.  EA.LZH is placed in the archive along with the
  114. other files.  Therefore,  anyone who does not have this version of
  115. LH2 can still apply the EAs to their respective files by using the
  116. OS/2 EAUTIL.EXE file.  A file named '!readme.ea' is imbeded in
  117. EA.LZH,  which supplies instructions to achieve this.
  118.  
  119. If you use this version of LH2 to extract archives (and do not use
  120. the /i switch),  EA.LZH will be extracted automatically and applied
  121. to the files,  then erased.
  122.  
  123.  
  124. Notes:
  125.  
  126.    o This version,  and future versions,  require OS/2 1.20 or newer.
  127.  
  128.    o Wildcards should work just like 1.20 wildcards.  (Let me know
  129.      if you find an inconsistency).
  130.  
  131.    o t = test option is new.
  132.  
  133.    o /i.  This option causes EAs not to be stored for the Add and
  134.      Move commands.  When used with the eXtract command, /i causes
  135.      EA.LZH to be extracted,  but not applied or erased.
  136.  
  137.    o LH2 does not support directory EAs,  only file EAs.
  138.  
  139.    o do NOT update an lzh file that was already stored with EAs
  140.      (since ea.lzh will already be in the lzh file).
  141.  
  142.    o The EAs are applied after ALL of the files have been extracted.
  143.      A side effect: If you do not extract a file that has an EA,  by
  144.      answering 'n' to the "File '<file>' already exists. Overwrite?"
  145.      prompt,  the EA WILL STILL BE JOINED to the old file on your
  146.      disk.
  147.  
  148.    o Longnames are supported -- sort of.  The total length of a file
  149.      name (including path) must be less than or equal to 74 bytes.
  150.      Longnames are stored without modification in the lzh header,
  151.      therefore they will fail to extract on a FAT partition and/or
  152.      under DOS. Therefore, the onus is on the user to enforce normal
  153.      (8.3) file names,  so as not to inconvenience other users. It is
  154.      HIGHLY recommended that you don't use longnames in files you
  155.      upload to BBS's.
  156.  
  157.  
  158. LH2.DOC, Tue  03-06-1990
  159. ------------------------
  160.  
  161. LH2 is an OS/2 clone of the MSDOS program LHARC.
  162.  
  163. It is based on the source code I released as "LH-ANSIC.LZH",  the
  164. ansi-c version of a simplified LHARC compatible compressor/decompressor.
  165. This program is the same as LH-ANSIC.LZH,  with the following exceptions:
  166.  
  167.  o The Move command has been added.  (ADD files, then erase them).
  168.  
  169.  o Wildcards are supported from the command line during an ADD/MOVE
  170.    function.
  171.  
  172.  o The /s command will cause LH2 to "walk" down directory trees.
  173.  
  174. For a complete list of functions, run LH.EXE without any arguments.
  175.  
  176. NOTE: OS/2 1.20's long file names and EAs are *NOT* supported in
  177. this release.  This would make the program incompatible with the
  178. original LHARC.  I may change this in the near future though.
  179.  
  180. Trying to "BIND" this program will cause unpredictable results when
  181. run in DOS mode.  (DosFindFirst()/Next() can not be supported in DOS
  182. mode if used recursively).
  183.  
  184. This program is free for noncommercial, nonprofit use only.
  185.  
  186. For commercial applications,  please write/call:
  187.  
  188. Peter Fitzsimmons
  189. A:WARE Inc.
  190. PO Box 670
  191. Adelaide St Postal Stn.
  192. Toronto, Canada
  193. M5C 2J8.
  194.  
  195. Voice: (416)858-3222
  196. FidoNet: 1:250/628
  197. BBS: RT-LAB (416)867-9663
  198.  
  199. Acknowledgments                                                      
  200. ---------------                                                      
  201. This program is based on the LZH (Lempel-Ziv-Huffman) compression
  202. method developed by Haruhiko Okumura and Haruyasu Yoshizaki. The
  203. compression routines were derived from the uncopyrighted LZHUF.C,
  204. posted by Haruhiko Okumura.
  205.  
  206. DISCLAIMER
  207. ----------
  208. The Program is supplied "AS IS" without any warranty of any kind,
  209. either expressed or  implied,  including, but not limited to, the
  210. implied warranties of merchantabilty and fitness for a particular
  211. purpose.
  212.  
  213. In  no  event  shall A:WARE INC be liable for any damages, either
  214. direct or  consequential,  caused by the use, or inability to use,
  215. this program, even  if A:WARE INC has been advised of the
  216. possibility of such damages.
  217.  
  218.                                 -----------
  219.  
  220.                         Copyright (C) 1991 A:WARE Inc.
  221.  
  222.            A:WARE Inc. develops custom OS/2 applications,  device
  223.                          drivers,  and utilities.
  224.